/**index.wxss**/
page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20rpx;
  box-sizing: border-box;
 
 
  >view{
    &:nth-child(n+2){
      margin-top:16rpx;
    }
  }
}
.scrollarea {
  flex: 1;
  overflow-y: hidden;
}
.swiper{
  swiper{
    height:350rpx;
    background-color: #6bc1c2;
    border-radius: 16rpx;
    overflow: hidden;
   

    swiper-item{
      image{
        width:100%;
        height:100%;
        border-radius: 16rpx;
        background-color:#6bc1c2 ;
      }

      
    }
  }
}
.second{
  display: flex;
  justify-content: space-between;//子项之间的间隔平均分配，同时确保第一个子项位于容器的起点，最后一个子项位于容器的终点

  view{
    navigator{
      display: flex;
      flex-direction: column; //子项将沿着垂直方向（列）排列。
       align-items: center;//确保所有子项在水平方向上居中对齐
    }
    image{
      background-color: #6bc1c2;
      width: 160rpx;
      height: 160rpx;
    }
    text{
      font-size: 30rpx;
      margin-top: 16rpx;
    }
  }
}

//养生日历
.title{
  display: flex;
 padding:20rpx;
 image{
   height:35rpx;
   width:15rpx;
   background-color: #6bc1c2;
 }
 text{
   font-size: 35rpx;
   margin-left: 25rpx;
   font-weight: 600;
 }

}
.table{
  display:flex;
  box-shadow: 0 4rpx 15rpx rgba(0, 0, 0, 0.1);
  .table-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    // border-style: solid ;
    // border-color: #808080;
    // box-shadow: 0 4rpx 15rpx rgba(0, 0, 0, 0.1);
    border-width:2px;
    width:300rpx;
    height:300rpx;
    // background-color: #6bc1c2;
    border-radius: 20rpx;
    margin:20rpx;
    
    .day{
      font-size: 70rpx;
    }
    
  }
  .small{
    display: flex;
    flex-direction:column;
    justify-content: center;
  .table-right-up{
    display: flex;
    width:400rpx;
    height:150rpx;
    // background-color: pink;
    border-radius: 20rpx;
    align-items: center;
    // border-style: solid ;
    // border-color: #808080;
    border-width:2px;
    .big{
      
      display: flex;
      flex-direction: column;
      .name{
        text{
          padding:25rpx;
          font-size: 40rpx;
          color: #6bc1c2;
          font-weight: 600;//粗细
        }
      }
    .contain{
      text{
        padding:25rpx;
        font-size:30rpx;
      }
    }
    
    }
    .image{
    image{
      height:140rpx;
      width:140rpx;
    }
  }
  }
  .table-right-down{
    display: flex;
    width:400rpx;
    height:150rpx;
    // background-color:yellowgreen;
    border-radius: 20rpx;
    align-items: center;
    // border-style: solid ;
    // border-color: #808080;
    // border-width:2px;
    
    .big{
     
      display: flex;
      flex-direction: column;
      .name{
        text{
          padding:25rpx;
          font-size: 40rpx;
          color: #6bc1c2;
          font-weight: 600;//粗细
        }
      }
    .contain{
      text{
        padding:25rpx;
        font-size:30rpx;
      }
    }
  
    }
  .image{
    image{
      height:140rpx;
      width:140rpx;
    }
  }
}
}
}

/* 页面容器样式 */
.container {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

/* 文章块样式 */
.article {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  height: 120px; /* 固定高度 */
  box-sizing: border-box; /* 包括内边距和边框在内的总宽度 */
}

/* 左侧样式 */
.left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 标题样式 */
.title2 {
  height: 120px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}
.multiline-ellipsis {
  display: -webkit-box;          /* 使用 flex 布局 */
  -webkit-box-orient: vertical;  /* 垂直布局 */
  -webkit-line-clamp: 3;         /* 显示的行数 */
  overflow: hidden;              /* 超出部分隐藏 */
  text-overflow: ellipsis;       /* 超出部分显示省略号 */
  word-wrap: break-word;         /* 强制断行 */
  line-height: 1.6;              /* 设置行高 */
}

/* 详情样式 */
.details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #888;
  font-size: 14px;
}

/* 右侧封面容器样式 */
.right {
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  width: 140px; /* 固定宽度 */
  height: 100%; /* 高度与文章块一致 */
}

/* 封面图片样式 */
.cover {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}


